package com.sell.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sell.entity.Product;
import com.sell.mapper.ProductMapper;
@Service("productService")
public class ProductServiceImpl implements ProductService {
@Resource
private ProductMapper productmapper;
	public Product getProductByid(Integer productid){
		Product pro=productmapper.getProductByid(productid);
		return pro;
	}

}
